<ion-view title="答题" id="page3">
    <ion-header-bar align-title="center" class="bar bar-header bar-light">
        <div class="buttons" style="margin-top: auto;margin-bottom: auto;margin-left: 5px; font-size: 10px;">
            <a style="color: #9e9e9e" ng-model="mCode"> {{mCode}}</a>
        </div>
        <div class="buttons" style="margin-top: auto;margin-bottom: auto;margin-left: 5px; font-size: 10px;">
            <a style="color: #9e9e9e" ng-model="mName">{{mMode}}</a>
        </div>
        <h1 class="title">答题</h1>
        <div class="buttons">
            <button class="button button-default" ui-sref="login">注销</button>
        </div>
    </ion-header-bar>
    <ion-content>

        <div class="row">
            <div class="col col-33">
                <h5 ng-model="nowIndex">当前题号: {{nowIndex}}</h5>
            </div>
            <div class="col col-50 col-offset-25">
                <button class="button button-calm button-small" style="margin-top: 5px;" ng-click="showBtn(nowIndex)">{{showAsk}}</button>
                <button class="button button-calm button-small" style="margin-top: 5px" ng-click="refAsk()">{{refershAsk}}</button>
            </div>
        </div>
        <div class="row">
            <div class="col col-100">
                <div class="list">

                    <div class="item item-input-inset">
                        <label class="item-input-wrapper" >
                            <input type="text" ng-disabled="canJump" ng-model="jumpIndex" placeholder="{{canJumpToIndex}}">
                        </label>
                        <button class="button button-small" ng-click="changeIndex(jumpIndex)">
                            提交
                        </button>
                    </div>

                </div>
                <!--<label class="item item-input" ng-hide="infoIsShow">-->
                    <!--<span class="input-label">Code</span>-->
                    <!--<input type="text" placeholder="Code" style="margin-right:20px" ng-model="askCode">-->
                    <!--<button class="button button-calm button-small" style="margin-left: -10px;" ng-click="showBtn(nowIndex)">跳转题号</button>-->
                <!--</label>-->
            </div>
        </div>



        <div class="row" ng-hide="askIsShow">
            <div class="col col-100">
                <ion-scroll direction="y" scrollbar-y="true" has-bouncing="true" style=" height: 160px;border:1px solid #dedede; ">
                    <div style="padding: 10px;">
                        <p ng-bind-html = "problemP"></p>
                        <p>{{ChoiceA}}</p>
                        <p>{{ChoiceB}}</p>
                        <p>{{ChoiceC}}</p>
                        <p>{{ChoiceD}}</p>
                    </div>
                </ion-scroll>

            </div>
        </div>

		<div class="row">
		<div class="col col-25">
			<ion-list>
				<ion-radio ng-model="model.choice" ng-change="choiceChange(model.choice)" ng-value="'A'"> A</ion-radio>
			</ion-list>
		</div>
        <div class="col col-25">
			<ion-list>
				<ion-radio ng-model="model.choice" ng-change="choiceChange(model.choice)" ng-value="'B'"> B</ion-radio>
			</ion-list>
		</div>
        <div class="col col-25">
			<ion-list>
                <ion-radio ng-model="model.choice" ng-change="choiceChange(model.choice)" ng-value="'C'"> C</ion-radio>
			</ion-list>
		</div>
        <div class="col col-25">
			<ion-list>
				<ion-radio ng-model="model.choice" ng-change="choiceChange(model.choice)" ng-value="'D'"> D</ion-radio>
			</ion-list>
		</div>
        </div>
        <div class="row">
            <div class="col col-100">
			<ion-list>
				<ion-radio ng-model="model.choice" ng-change="choiceChange(model.choice)" ng-value="'Other'">其他答案</ion-radio>
			</ion-list>
		</div>
        </div>
        
        <div class="row">
            <div class="col col-100">
                <form class="list" style="margin-top: 15px;">
                    <label class="item item-input">
                    <textarea ng-disabled="expression2"  style=" height: 80px;" placeholder="请在此处填写答案" ng-model="more.answer"></textarea>
                    </label>
                </form>
            </div>
        </div>

    <div class="row">
        <div class="col col-100">
            <div class="button-bar">
                <a ng-click="setCode(askCode,stunum,stuname)" id="login-button2" style="color:#FFFFFF;" class="button button-calm button-block">提交</a>
            </div>
       </div>
    </div>
    </ion-content>
</ion-view>
